﻿<?xml version="1.0" encoding="utf-8" ?>
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" loadImage="GetImage">
  <ribbon>
    <tabs>
      <tab id="tabPowerShape" label="Shape Powertoys">
        <group id="groupHello" label="Hello">
          <button id="buttonHello" label="Hello World!" size="large"
                  screentip="Press this for a 'Hello World' message"
                  onAction="showHello" image="HelloWorld" />
        </group>
        <group id="shapeGrouping" label="Grouping">
          <button id="groupSelectedShapes" label="Group shapes" size="large"
                  screentip="..."
                  image="HelloWorld"
                  onAction="OnGroupSelectedShapes"
                  getEnabled="CanGroupSelectedShapes" />
          <button id="ungroupSelectedShapes" label="Ungroup shapes" size="large"
                  screentip="..."
                  image="HelloWorld"
                  onAction="OnUngroupSelectedShapes"
                  getEnabled="CanUngroupSelectedShapes" />
        </group>
        <group id="shapeLibrary" label="Library">
          <button id="addSelectedShapesToLib" label="Add shapes to library" size="large"
                  screentip="..."
                  image="HelloWorld"
                  onAction="OnAddSelectedShapesToLib"
                  getEnabled="CanAddSelectedShapesToLib" />
          <button id="showShapeLib" label="Open library" size="large"
                  screentip="..."
                  image="HelloWorld"
                  onAction="OnShowShapeLibrary"
                  getEnabled="CanShowShapeLibrary" />
        </group>
      </tab>
    </tabs>
  </ribbon>
</customUI>